<%-- 
    Document   : header
    Created on : Aug 18, 2011, 9:02:54 PM
    Author     : QUYET
--%>
<%
    User user1 = (User) session.getAttribute("userObj");
    if (user1 == null) {
        response.sendRedirect("login.jsp");
    } else {
%>
<%@page import="accessor.User"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>AUTO ANCILLARIES ADMINISTRATION PANEL</title>
        <meta name="description" content="" />

        <script src="../assets/js/jquery-1.4.3.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="../assets/js/jquery.MultiFile.min.js" type="text/javascript" language="javascript"></script>
        <link href="../assets/css/backend/styles.css" rel="stylesheet" type="text/css" />
        <link href="../assets/css/backend/nav.css" rel="stylesheet" type="text/css" />
        <script src="../assets/js/jquery.blockUI.1.33.js" type="text/javascript" charset="utf-8"></script>
        <link rel="stylesheet" type="text/css" media="all" href="../assets/js/jsDatePick_ltr.min.css" />
        <script type="text/javascript" src="../assets/js/jquery.1.4.2.js"></script>
        <script type="text/javascript" src="../assets/js/jsDatePick.jquery.min.1.3.js"></script>
        <script>
            $(document).ready(function() {
                $(".sub_menu").show();
            });
        </script>
        <script type="text/javascript">
            window.onload = function(){
                new JsDatePick({
                    useMode:2,
                    target:"date",
                    dateFormat:"%Y-%m-%d"
                });
            };
        </script>
    </head>
    <body >
        <div id="background_confirmer"></div>
        <div id="confirmer" align="center">
            <table width="100%">
                <tr>
                    <td align="center"><a id="oui" href="#"><img src="../assets/css/backend/images/oui.png"/></a></td>
                    <td align="center"><a id="non" href="#"><img src="../assets/css/backend/images/non.png"/></a></td>
                </tr>
            </table>
        </div>
        <table width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <td width="270px" id="wrapper_menu_left" valign="top">
                    <div id="menu_left">
                        <div id="profil" align="center">
                            <div id="logo"><img src="../assets/css/backend/images/logo.png"/></div>
                            <!--END logo-->
                            <div id="compte">
                                <%
                                    if (user1.getUserID() == 0) {
                                        response.sendRedirect("login.jsp");
                                    } else {%>
                                <a href="update_user.jsp?userID=<%= user1.getUserID()%>">Profile </a> | <a href="change_pass.jsp?userID=<%= user1.getUserID()%>">Change pass</a> | <a href="../admin_logout">Logout</a>
                            </div>
                            <!--END compte-->
                        </div>
                        <!--END profil-->
                        <%if (user1.getDepartmentID() == 1) {%>
                        <%@include file="navigation.jsp" %>
                        <%} else if (user1.getDepartmentID() == 2) {%>
                        <%@include file="navigation_admin.jsp" %>
                        <%} else if (user1.getDepartmentID() == 3) {%>
                        <%@include file="navigation_des.jsp" %>
                        <%} else if (user1.getDepartmentID() == 4) {%>
                        <%@include file="navigation_OP.jsp" %>
                        <%} else if (user1.getDepartmentID() == 5) {%>
                        <%@include file="navigation_QC.jsp" %>
                        <%} else if (user1.getDepartmentID() == 6) {%>
                        <%@include file="navigation_pd.jsp" %>
                        <%} else {%>
                        <%@include file="navigation_sk.jsp" %>
                        <%}%>

                        <%        }
                            }%>
                        <!--END list_menu-->
                    </div>
                    <!--END menu_left-->
                </td>
                <td valign="top" align="left">
                    <div id="wrapper_content">

